home *** CD-ROM | disk | FTP | other *** search
- Path: medtechnet.com!dreams!tony.johnston
- From: Tony.Johnston@dreams.medtechnet.com (Tony Johnston)
- Date: 10 Jan 96 23:46:00
- Newsgroups: comp.lang.c++
- Subject: File searches
- Message-ID: <7a7_9601110100@medtechnet.com>
- Organization: Med TechNet
-
- I am using Borland C++ 4.0. I am writing a program for a bbs. What I want
- to do is take the current users name and compare it against a list of names
- to test for a condition. For example if the user was:
-
- Tony Johnston
-
- And I had a file called NAMES.DAT that looked like;
-
- Bill Gates
- William Clinton
- Tony Johnston
- Jimmy Hoffa
- King Tut
-
- How do I do a search through the file to compare it to the name I am
- searching for?
-
- Thank you,
- -=[ Tony ]=-
-
-